home *** CD-ROM | disk | FTP | other *** search
- head 1.4;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.4
- date 92.03.02.15.27.51; author bmiller; state Exp;
- branches ;
- next 1.3;
-
- 1.3
- date 91.01.07.18.02.37; author mottsmth; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 90.01.12.12.04.14; author douglis; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 89.02.10.09.28.33; author brent; state Exp;
- branches ;
- next ;
-
-
- desc
- @Template for a main program
- @
-
-
- 1.4
- log
- @copyright year changed by bmiller.
- @
- text
- @/*
- * prog.c --
- *
- * Program to ....
- *
- * Copyright 1992 Regents of the University of California
- * Permission to use, copy, modify, and distribute this
- * software and its documentation for any purpose and without
- * fee is hereby granted, provided that the above copyright
- * notice appear in all copies. The University of California
- * makes no representations about the suitability of this
- * software for any purpose. It is provided "as is" without
- * express or implied warranty.
- */
-
- #ifndef lint
- static char rcsid[] = "$Header: /sprite/lib/forms/RCS/main.c,v 1.3 91/01/07 18:02:37 mottsmth Exp Locker: bmiller $ SPRITE (Berkeley)";
- #endif /* not lint */
-
- #include <stdio.h>
- #include <option.h>
-
- Option optionArray[] = {
- {OPT_TRUE, "f", (char *)&foo, "Describe the -f option"},
- };
- int numOptions = sizeof(optionArray) / sizeof(Option);
-
-
- /*
- *----------------------------------------------------------------------
- *
- * main --
- *
- * <explain>.
- *
- * Results:
- * None.
- *
- * Side effects:
- * None.
- *
- *----------------------------------------------------------------------
- */
-
- void
- main(argc, argv)
- int argc;
- char *argv[];
- {
- argc = Opt_Parse(argc, argv, optionArray, numOptions, 0);
-
- exit(0);
- }
-
- @
-
-
- 1.3
- log
- @Update copyright date
- @
- text
- @d6 1
- a6 1
- * Copyright 1991 Regents of the University of California
- d17 1
- a17 1
- static char rcsid[] = "$Header: /sprite/lib/forms/RCS/main.c,v 1.2 90/01/12 12:04:14 douglis Exp Locker: mottsmth $ SPRITE (Berkeley)";
- @
-
-
- 1.2
- log
- @changed copyright year.
- @
- text
- @d6 1
- a6 1
- * Copyright 1990 Regents of the University of California
- d17 1
- a17 1
- static char rcsid[] = "$Header: /sprite/lib/forms/RCS/main.c,v 1.1 89/02/10 09:28:33 brent Exp Locker: douglis $ SPRITE (Berkeley)";
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d6 1
- a6 1
- * Copyright 1989 Regents of the University of California
- d17 1
- a17 1
- static char rcsid[] = "$Header: /sprite/lib/forms/RCS/proto.c,v 1.2 89/01/07 04:12:18 rab Exp $ SPRITE (Berkeley)";
- @
-